-- GENERATED SPELL FOR [Tuurem Hunter] --


function spell0_18457(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18457', 529, 1)
end

function Sorts_18457(pUnit, Event)
local choix_sorts_18457 = math.random(0, 0)
if choix_sorts_18457 == 0 then
pUnit:RegisterEvent('spell0_18457', 1, 1)
end
end

function mob18457_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18457', math.random(1500, 3000), 1)
end

function mob18457_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18457_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18457_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18457, 1, 'mob18457_Action')
RegisterUnitEvent(18457, 2, 'mob18457_Leave')
RegisterUnitEvent(18457, 3, 'mob18457_Kill')
RegisterUnitEvent(18457, 4, 'mob18457_Die')
